package com.common.account.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.common.account.entity.UserAndMechanism;
import com.common.account.mapper.UserAndMechanismMapper;
import com.common.account.service.IUserAndMechanismService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Set;

/**
 * 人员部门
 *
 * @author wangguochao
 * @since 2021-01-28
 */
@Service
public class UserAndMechanismServiceImpl extends ServiceImpl<UserAndMechanismMapper, UserAndMechanism> implements IUserAndMechanismService {
    @Resource()
    private UserAndMechanismMapper userAndMechanismMapper;

    @Override
    public List<UserAndMechanism> getMechanismByUserIds(Set<String> ids) {
        return userAndMechanismMapper.getMechanismByUserIds(ids);
    }
}
